#pragma once
#include"BaseObject.h"
class Sphere:public BaseObject
{
public:
	Sphere(float r = 50, int d = 5, Vector3 pos=Vector3());
	~Sphere();

	void InitPointsAndFaces() override;
	void UpdateTriangle() override;
	BoundingBox GetBoundingBox() override;

	float r;
	int d;
};

